package org.framework.test.feign;

import org.framework.test.entity.Producer;
import org.framework.test.util.CommonResult;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * <p>
 * <p>Title:ConsumerFeignClient.java</p >
 * <p>Description: </p >
 * <p>Copyright: Copyright(c)2020</p >
 * <p>Date:2021/5/29 15:05</p >
 *
 * @author quzp
 * @version 1.0
 */
@FeignClient(value = "producer-server")
public interface ConsumerFeignClient {

    @GetMapping(value = "/producer/method")
    public CommonResult<Producer> feignMethod();
}